package com.jiuzhi.app.mapper;

import com.jiuzhi.app.domain.YxCommunity;

import java.util.List;

/**
 * 项目明细Mapper接口
 *
 * @author jiuzhi
 * @date 2020-02-15
 */
public interface YxCommunityMapper
{
    /**
     * 查询项目明细
     *
     * @param comId 项目明细ID
     * @return 项目明细
     */
    public YxCommunity selectYxCommunityById(Long comId);

    /**
     * 查询项目明细列表
     *
     * @param yxCommunity 项目明细
     * @return 项目明细集合
     */
    public List<YxCommunity> selectYxCommunityList(YxCommunity yxCommunity);

    /**
     * 新增项目明细
     *
     * @param yxCommunity 项目明细
     * @return 结果
     */
    public int insertYxCommunity(YxCommunity yxCommunity);

    /**
     * 修改项目明细
     *
     * @param yxCommunity 项目明细
     * @return 结果
     */
    public int updateYxCommunity(YxCommunity yxCommunity);

    /**
     * 删除项目明细
     *
     * @param comId 项目明细ID
     * @return 结果
     */
    public int deleteYxCommunityById(Long comId);

    /**
     * 批量删除项目明细
     *
     * @param comIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteYxCommunityByIds(String[] comIds);
}
